package com.sbs.gaoxinqutoilet.utils;

/**
 * Created by 聪明一只哈 on 2020/4/21.
 * Time: 2020/4/21  8:43
 */
public class StringUtil {
    public static String deleteCharString(String sourceString, char chElemData) {
        String deleteString = "";
        for (int i = 0; i < sourceString.length(); i++) {
            if (sourceString.charAt(i) != chElemData) {
                deleteString += sourceString.charAt(i);
            }
        }
        return deleteString;
    }

}
